import { IsNotEmpty } from "class-validator"
export class GetAccessTokenDto {

  @IsNotEmpty({message: 'grant_type不能为空'})
  grant_type: string

  @IsNotEmpty({message: 'appid不能为空'})
  appid: string

  @IsNotEmpty({message: 'secret不能为空'})
  secret: string
}